import type { AppInfo } from '@/types/app'
export const APP_ID = `${process.env.NEXT_PUBLIC_APP_ID}`
export const API_KEY = `${process.env.NEXT_PUBLIC_APP_KEY}`
export const API_URL = `${process.env.NEXT_PUBLIC_API_URL}`
export const CHAT_SID_HEADER_KEY = 'X-CHAT-SID'
export const APP_INFO: AppInfo = {
  title: '智能管网专家',
  description: '',
  copyright: '',
  privacy_policy: '',
  default_language: 'zh-Hans',
}

export const isShowPrompt = false
export const promptTemplate = 'I want you to act as a javascript console.'

export const API_PREFIX = '/api'

export const LOCALE_COOKIE_NAME = 'locale'

export const DEFAULT_VALUE_MAX_LEN = 48
export const XF_APP_CONFIG = {
  APPID: `${process.env.XF_VOICE_APPID}`,
  API_SECRET: `${process.env.XF_VOICE_API_SECRET}`,
  API_KEY: `${process.env.XF_VOICE_API_KEY}`,
}

//
// console.log({
//   APP_ID,
//   API_KEY,
//   API_URL,
// })
